package com.tsinghua.discharge.dao;

import com.tsinghua.discharge.model.GcamMapping;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GcamMappingMapper {
    int deleteByPrimaryKey(Integer resultMapId);

    int insert(GcamMapping record);

    int insertSelective(GcamMapping record);

    GcamMapping selectByPrimaryKey(Integer resultMapId);

    int updateByPrimaryKeySelective(GcamMapping record);

    int updateByPrimaryKey(GcamMapping record);
    int selectRepeat(GcamMapping record);
    int selectId(GcamMapping record);

    int deleteBySector(@Param( "sector") String sector,@Param("userId") Integer userId);
}